package com.wh.minio.container.entity;


/***
 * Bucket桶实体模型
 * @Package com.wh.minio.container.entity
 * @author 谢泽鹏
 * @date 2016年11月07日 下午15:10
 * @Copyright 个人版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2016
 * @version V1.0
 */
public class Bucket {

    /**
     * 桶名称
     */
    private String bucketName;

    /**
     * 资源路径(相对)
     */
    private String objectName;

    /**
     * 资源大笑
     */
    private Long objectSize;

    /**
     * 桶的描述
     */
    private String description;

    /**
     * 是否目录
     */
    private Boolean dir;

    /**
     * etag标签
     */
    private String etag;

    /**
     * 最后更新时间
     */
    private String lastModified;

    /**
     * 大小
     */
    private Integer size;

    /**
     * storageClass
     */
    private String storageClass;

    /**
     * 代理地址url
     */
    private String url;

    /**
     * 真实地址objectUrl
     */
    private String objectUrl;


    /**
     * ownerId
     */
    private String ownerId;

    /**
     * ownerDisplayName
     */
    private String ownerDisplayName;

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getObjectName() {
        return objectName;
    }

    public void setObjectName(String objectName) {
        this.objectName = objectName;
    }

    public Long getObjectSize() {
        return objectSize;
    }

    public void setObjectSize(Long objectSize) {
        this.objectSize = objectSize;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Boolean getDir() {
        return dir;
    }

    public void setDir(Boolean dir) {
        this.dir = dir;
    }

    public String getEtag() {
        return etag;
    }

    public void setEtag(String etag) {
        this.etag = etag;
    }

    public String getLastModified() {
        return lastModified;
    }

    public void setLastModified(String lastModified) {
        this.lastModified = lastModified;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getStorageClass() {
        return storageClass;
    }

    public void setStorageClass(String storageClass) {
        this.storageClass = storageClass;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getObjectUrl() {
        return objectUrl;
    }

    public void setObjectUrl(String objectUrl) {
        this.objectUrl = objectUrl;
    }


    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }

    public String getOwnerDisplayName() {
        return ownerDisplayName;
    }

    public void setOwnerDisplayName(String ownerDisplayName) {
        this.ownerDisplayName = ownerDisplayName;
    }
}
